﻿
export default [
  { path: '/interface/store', name: '接口商店', icon: 'gift', component: './InterfaceStore'},
  { path: '/interface/mine', name: '我的接口', icon: 'heart', component: './MyInterface'},
  { path: '/user/home', name: '个人中心', icon: 'heart', component: './user/Center'},
  { path: '/interfaceInfo',access: "canAdmin", name: '接口管理', icon: 'smile', component: './InterfaceInfo' },
  { path: '/detailInterface/:id', name: '接口详情', component: './DetailInterfaceInfo',hideInNav: true,hideInMenu: true},

  {
    path: '/user',
    routes: [
      { name: '登录', path: '/user/login', component: './user/Login',layout: false, },

      { component: './404' },
    ],
  },
  { component: './404' },
];
